package com.neusoft.neuiotms.dcom.service.hn;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.neusoft.bizcore.auth.common.bean.UserBean;
import com.neusoft.bizcore.web.support.Searchable;
import com.neusoft.neuiotms.dcom.dto.hn.HnInspectionPlanDTO;

public interface HnInspectionPlanService {
    List<HnInspectionPlanDTO> index(Searchable searchable);

    Page<HnInspectionPlanDTO> search(Pageable pageable, Searchable searchable, UserBean user);

    HnInspectionPlanDTO create(HnInspectionPlanDTO dto, UserBean user);

    HnInspectionPlanDTO update(Long id, HnInspectionPlanDTO dto, UserBean user);

    HnInspectionPlanDTO details(Long id);

    void delete(Long id);

    void enable(Long id);

    void disable(Long id);
}
